//============================================================================
// Name        : QueryResult.h
// Author      : lucmir@dcc.ufmg.br
// Description :
//============================================================================


#ifndef QUERY_RESULT_H_
#define QUERY_RESULT_H_

#include <stdio.h>
#include <string>
#include <iostream>
#include <set>
#include <list>


class QueryResult {

	std::string term;
	unsigned int tf;
	unsigned int *docFreqs;

	public:

		QueryResult(std::string termId, unsigned int tf, unsigned int *docFre);
		~QueryResult();

		void setTerm(std::string termId);
		void setTf(unsigned int tf);
		void setDocFreqs(unsigned int *docFreqs);

		std::string getTerm();
		unsigned int getTf();
		unsigned int *getDocFreqs();

		void printDocFreqs();
};

#endif
